package ym.ecrm.core.dto.salesManagement;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ym.ecrm.core.domain.customerManagement.Customer;
import ym.ecrm.core.domain.salesManagement.Contract;
import ym.ecrm.core.domain.salesManagement.OrderDetail;
import ym.ecrm.core.domain.salesManagement.SalesOpportunity;
import ym.ecrm.core.domain.systemManagement.User;
/**
 * 订单DTO
 * 
 * @author Princess
 * @version 1.0
 */
public class OrderDTO {

	/**
	 * 订单编号
	 */
	private String orderCode;
	/**
	 * 订单名称
	 */
	private String orderName;
	/**
	 * 对应客户（合作伙伴、企业客户、个人客户）
	 */
	private String customerName;
	/**
	 * 对应客户Id
	 */
	private long customerId;
	/**
	 * 订单开始时间
	 */
	private Date startTime;
	/**
	 * 总金额
	 */
	private float aggregateAmount;
	/**
	 * 订单状态
	 */
	private String orderStatus;
	/**
	 * 订单所有人
	 */
	private String userName;
	/**
	 * 订单所有人Id
	 */
	private long userId;

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public float getAggregateAmount() {
		return aggregateAmount;
	}

	public void setAggregateAmount(float aggregateAmount) {
		this.aggregateAmount = aggregateAmount;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}
}
